package org.alfalfa;

import init.StaticData;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@ServletComponentScan
public class HaydayApplication {

	public static void main(String[] args) {

		SpringApplication sa = new SpringApplication();
//		sa.setAddCommandLineProperties(false);
		sa.run(HaydayApplication.class, args);

		//init statics
		try {
			StaticData.initResources();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
